package homework.homework_5.random;

import abstracts.duramax.Student;

import java.util.Random;

/**
 * @author 朱
 * @date 2019032611:18
 */
public class Test {
    public static void main(String[] args) {
        StudentFactory studentFactory=new StudentFactory();
        Random random=new Random();
        int ran=random.nextInt(studentFactory.stu1804.length);
        System.out.println(studentFactory.stu1804[ran]);
    }
}
